/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.system;

import java.util.List;
import model.system.SystemUser;

/**
 *
 * @author Yusup Jauhari Shandi <in.visi>
 */
public interface SystemUserService {
    boolean save(SystemUser systemUser);
    //boolean update(SystemUser systemUser);
    boolean delete(SystemUser systemUser);
    SystemUser getSystemUser(int id);
    SystemUser getSystemUser(String kode);
    List<SystemUser> getSystemUser();
    List<SystemUser> getSystemUser(int start, int num);
    List<SystemUser> getAll(int start, int num, String params, String orderBy);
    SystemUser canLogin(String username, String password);
    SystemUser getActiveUser();
    void setActiveUser(SystemUser systemUser);
    boolean changePassword(SystemUser systemUser);
    String getUserIdLog();
}
